/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.inv.poi.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.dian.common.vo.BaseVO;
import lombok.Data;
import java.util.Date;
import java.util.List;

/**
 * 调拨单导出主类VO
 *
 * @author 赵淼
 * @email 1752060891@qq.com
 * @date 2019-06-22 16:00:08
 */
@Data
@ExcelTarget("tranHeadExportVO")
public class TranHeadExportVO  extends BaseVO {
	private static final long serialVersionUID = 1L;

    /**
	 * 调拨编码
	 */
    @Excel(name = "调拨编码")
    private String tranNo;


    /**
	 * 调拨日期;format:yyyy-mm-dd
	 */
    @Excel(name = "调拨日期", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tranDate;


    /**
	 * 调入仓库编码;来源于Base_Warehouse.Warehouse_Code
	 */
    @Excel(name = "调入仓库编码")
    private String toWarehouseCode;


    /**
	 * 调入仓库名称;来源于Base_Warehouse.Warehouse_Name
	 */
    @Excel(name = "调入仓库名称")
    private String toWarehouseName;


    /**
	 * 调出仓库编码;来源于Base_Warehouse.Warehouse_Code
	 */
    @Excel(name = "调出仓库编码")
    private String fromWarehouseCode;


    /**
	 * 调出仓库名称;来源于Base_Warehouse.Warehouse_Name
	 */
    @Excel(name = "调出仓库名称")
    private String fromWarehouseName;


    /**
	 * 单据状态:1-未审核-WAITCHECK;2-已审核-AUDITED-;99-已作废-INVALID
	 */
    @Excel(name = "单据状态", replace = {"未审核_1","已审核_2","已作废_99"})
    private Integer tranState;


    /**
	 * 审核人
	 */
    @Excel(name = "审核人")
    private String checkUserName;


    /**
	 * 审核时间
	 */
    @Excel(name = "审核时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkDate;


    /**
	 * 调拨类型:1-正常调拨-NORMAL;2-其它调拨-OTHER
	 */
    @Excel(name = "调拨类型", replace = {"正常调拨_1","其它调拨_2"})
    private Integer tranType;


    /**
	 * 备注
	 */
    @Excel(name = "备注")
    private String remark;


    /**
	 * 创建人
	 */
    @Excel(name = "创建人")
    private String createUserName;


    /**
	 * 创建时间
	 */
    @Excel(name = "创建时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    /**
	 * 修改人
	 */
    @Excel(name = "修改人")
    private String updateUserName;


    /**
	 * 修改时间
	 */
    @Excel(name = "修改时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 销售订单明细表
     */
    @ExcelCollection(name = "销售订单明细表")
    private List<TranLineExportVO> tranHeadExportVOList;
}
